﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using Partner.Surround.Authorization.Roles;
using Partner.Surround.Authorization.Users;
using Partner.Surround.MultiTenancy;

namespace Partner.Surround.EntityFrameworkCore
{
    public class SurroundDbContext : AbpZeroDbContext<Tenant, Role, User, SurroundDbContext>
    {
        public virtual DbSet<Partner.Surround.DataDictionaries.DataDictionaryItem> DataDictionaryItem { get; set; }
        public virtual DbSet<Partner.Surround.Storage.BinaryObject> BinaryObject { get; set; }
        public virtual DbSet<Partner.Surround.Chat.ChatMessage> ChatMessage { get; set; }
        public virtual DbSet<Partner.Surround.Friendships.Friendship> Friendship { get; set; }

        public SurroundDbContext(DbContextOptions<SurroundDbContext> options)
            : base(options)
        {
        }
    }
}
